#include "stdafx.h"
#include "TestGameMessageHandler.h"

using	namespace	Z;

TestGameMessageHandler::TestGameMessageHandler()
:	mConnect(0)
{
}

void TestGameMessageHandler::onConnect(Z::NetworkId kNetworkId)
{
	::printf("onConnect:\t%d\n", ++mConnect);
}

void TestGameMessageHandler::onDisconnect(Z::NetworkId kNetworkId)
{
	::printf("onDisconnect:\t%d\n", --mConnect);
}